package socket;

import java.net.ServerSocket;
import java.net.Socket;

class SimpleBuilder implements SocketBuilder{

	public Socket buildSocket(String host, int port) throws Exception{
		
		return new Socket(host, port);
	}

	public ServerSocket buildServer(int port) throws Exception {
		
		return new ServerSocket(port);
	}
}
